<?php

namespace App\Http\Controllers\Guest;

use App\Http\Controllers\Controller;
use App\Model\Tutorial;
use Illuminate\Http\Request;

class TutorialController extends Controller
{
    //
    public function Index()
    {
        $data = Tutorial::all();
        return view('tutoriais/index', compact('data'));
    }

    public function Select($id)
    {
        $data = Tutorial::find($id);
        return view('tutoriais/select', compact('data'));
    }
}
